import React from 'react';
import { HashRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import store from '@/models';
import PageRoutes from '../useRoutes';
// import routers from "@/routers";

// function PageRoutes() {
//   return useRoutes(routeConfig)
// }

function App() {
  return (
    <Provider store={store}>
      <HashRouter>
        <PageRoutes />
      </HashRouter>
    </Provider>
  );
}

export default App;
